package com.ecoolex.chinadutyfree.retailer.core.pojo;

import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoods;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsShoppingCart;
import com.ecoolex.chinadutyfree.retailer.entity.FreightTemplateChargingRegion;
import com.ecoolex.chinadutyfree.retailer.entity.GoodsProduct;

import java.math.BigDecimal;

public class GoodsOrderDetailDO {
    // 购物车数据
    private DirectMailGoodsShoppingCart cart;

    // 直邮产品
    private DirectMailGoods goods;

    // 产品(可能不存在,使用时检查)
    private GoodsProduct product;

    // 运费计费模式
    private FreightTemplateChargingRegion freightTemplateChargingRegion;

    //税率
    private BigDecimal taxRate;

    public DirectMailGoodsShoppingCart getCart() {
        return cart;
    }

    public void setCart(DirectMailGoodsShoppingCart cart) {
        this.cart = cart;
    }

    public FreightTemplateChargingRegion getFreightTemplateChargingRegion() {
        return freightTemplateChargingRegion;
    }

    public void setFreightTemplateChargingRegion(FreightTemplateChargingRegion freightTemplateChargingRegion) {
        this.freightTemplateChargingRegion = freightTemplateChargingRegion;
    }

    public DirectMailGoods getGoods() {
        return goods;
    }

    public void setGoods(DirectMailGoods goods) {
        this.goods = goods;
    }

    public GoodsProduct getProduct() {
        return product;
    }

    public void setProduct(GoodsProduct product) {
        this.product = product;
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }
}
